﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVC.Music.Data.Models;

namespace MVC.Music.Data.Repositories
{
    public class BitrateRepository : BaseRepository<BitrateModel>
    {
        public BitrateRepository(PetaPoco.Database database)
            : base(database)
        {
        }
        public override BitrateModel Single(object primaryKey)
        {
            throw new NotImplementedException();
        }

        public override IEnumerable<BitrateModel> Query()
        {
            return _database.Query<BitrateModel>("select * from tbl_Bitrate", null);
        }

        public override List<BitrateModel> Fetch()
        {
            throw new NotImplementedException();
        }

        public override PetaPoco.Page<BitrateModel> PagedQuery(long pageNumber, long itemsPerPage, string sql, params object[] args)
        {
            throw new NotImplementedException();
        }

        public override int Insert(object itemToAdd)
        {
            throw new NotImplementedException();
        }

        public override int Update(object itemToUpdate, object primaryKeyValue)
        {
            throw new NotImplementedException();
        }

        public override int Delete(object primaryKeyValue)
        {
            throw new NotImplementedException();
        }
    }
}
